package com.ddtech.business.common;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @author pubin
 * @date 2022/7/6
 */
public class BaseService<M extends BaseMapper<T>, T> extends ServiceImpl<M, T> {

    public BaseService() {
    }

    public QueryWrapper<T> newValidQueryWrapper() {
        QueryWrapper<T> validQueryWrapper = new QueryWrapper();
        return validQueryWrapper;
    }
}
